get
Purpose
Retrieves an instance of the domain class for the specified id.null
is returned if the row with the specified id doesn't exist.Examples
def b = Book.get(1)
Description
Parameters:id
- The id of the object to retrieve
(Quick Reference)
getPurposeRetrieves an instance of the domain class for the specified id.null is returned if the row with the specified id doesn't exist.Examplesdef b = Book.get(1) DescriptionParameters:
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |